<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Microsoft.Com.Forums.Model" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Microsoft.Com.Forums.Model" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://services.social.microsoft.com/ForumsServicePreview/ForumsService.svc?xsd=xsd0" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:simpleType name="HistoryItemType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Edit" />
      <xs:enumeration value="Delete" />
      <xs:enumeration value="Abusive" />
      <xs:enumeration value="Vote" />
      <xs:enumeration value="ChangeType" />
      <xs:enumeration value="Split" />
      <xs:enumeration value="Merge" />
      <xs:enumeration value="Move" />
      <xs:enumeration value="Assigned" />
      <xs:enumeration value="ProposeAnswer" />
      <xs:enumeration value="UnProposeAnswer" />
      <xs:enumeration value="MarkAnswer" />
      <xs:enumeration value="UnmarkAnswer" />
      <xs:enumeration value="Undelete" />
      <xs:enumeration value="Escalated" />
      <xs:enumeration value="DeEscalated" />
      <xs:enumeration value="RemoveAbusive" />
      <xs:enumeration value="RemoveVote" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="HistoryItemType" nillable="true" type="tns:HistoryItemType" />
  <xs:simpleType name="ThreadType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Question" />
      <xs:enumeration value="Discussion">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ThreadType" nillable="true" type="tns:ThreadType" />
  <xs:simpleType name="DiscussionGroupType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Forum">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ModeratorForum">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="PrivateForum">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ModeratorPostingForum">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="DiscussionGroupType" nillable="true" type="tns:DiscussionGroupType" />
  <xs:simpleType name="DiscussionType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="Thread" />
      <xs:enumeration value="Post" />
      <xs:enumeration value="Resource" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="DiscussionType" nillable="true" type="tns:DiscussionType" />
</xs:schema>